//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    sTime: "",
    eTime: ""
  },

  onLoad: function (option) {

  },

  time(e) {
    console.log("---------" + e.detail.sTime)
    console.log("---------" + e.detail.eTime)
    this.setData({
      sTime: e.detail.sTime,
      eTime: e.detail.eTime
    })
  },
})